package com.itjeffrey.autocode.postProcessor;

import lombok.Data;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

/**
 *  测试 ，可删除
 * @From: Jeffrey
 * @Date: 2021/3/27
 */
@Data
@Component("aDemo")
public class ADemo {

    private String name;

    @Autowired
    private BDemo bDemo;

    public ADemo(){
        System.out.println("No ArgConstructor ADemo Instantiation");
    }

    public ADemo(String name){
        this.name = name;
        System.out.println("ArgConstructor ADemo Instantiation");
    }
}
